﻿@using _1._8._2015_KidChores.Models
@model KidsChoresListViewModel

@{
    ViewBag.Title = "AssignChore";
}

<h2>Assign Chore</h2>

@using(Html.BeginForm())
{  
        <select name="kidId" >
            @foreach (var k in Model.Kids)
            {
                <option value=@k.KidId>@(k.FirstName + " " + k.LastName)</option>
            }
        </select>
        <select name="choreId">
            @foreach (var c in Model.Chores)
            {
                <option value=@c.ChoreId>@c.Description</option>
            }
        </select>
        <input type="submit" value="Assign Chore" />
 }





        
